﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace c_testAddQTlIB
{
	internal class Program
	{
		[DllImport("TEST1.dll")]
		public static extern int Sum(int a, int b);

		[DllImport("TEST1.dll")]
		public static extern int Sub(int a, int b);

		[DllImport("TEST1.dll")]
		public static extern int Mul(int a, int b);

		[DllImport("TEST1.dll")]
		public static extern int Div(int a, int b);
		static void Main(string[] args)
		{

            Console.WriteLine(Sum(1,2).ToString());
            Console.WriteLine(Sub(1,2).ToString());
            Console.WriteLine(Mul(1,2).ToString());
            Console.WriteLine(Div(1,2).ToString());
			Console.ReadKey();
        }
	}
}
